﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CompilerPhase4
{
    class Program
    {
        static void Main(string[] args)
        {
            string path = "test.txt";
            string fullPath;
            fullPath = System.IO.Path.GetFullPath(path);
            LexicalAnalyzer lex = new LexicalAnalyzer(fullPath, false);
            lex.GetNextToken();
            Parser parse = new Parser(lex, false);
            parse.Run();
            Interpreter interp = new Interpreter();
            interp.InterpretQuads(parse.quad, lex.symbolTable, true);
        }
    }
}
